// pages/login/index.js
Page({

  handleGetUserInfo (e) {

    // 获取用户信息
    const { userInfo } = e.detail

    wx.setStorageSync("userinfo", userInfo);

    wx.navigateBack({
      delta: 1
    });

  }
})